import time
from os import times

from selenium import webdriver
from selenium.webdriver.chrome.service import Service

# 加载本地驱动
chrome_driver="../driver/chromedriver.exe"

service=Service(executable_path=chrome_driver)
# 指向服务端是本地驱动
driver=webdriver.Chrome(service=service)

driver.get("https://www.baidu.com")


time.sleep(5)


driver.quit()
